package com.qr.bean.wmyw;

import java.sql.Timestamp;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.Version;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
/**
 * @author: zc
 * email: zc8023zs@163.com
 * create_time: 2020/8/13 10:26:04
 */
@ApiModel(value = "qr_shopping_cart", description = "购物车")
@TableName(value = "qr_shopping_cart")
public class QrShoppingCart implements Serializable {
	@ApiModelProperty(value = "标识")
	@TableId(type = IdType.AUTO,value = "cart_id")
	@NotNull(message = "标识不能为空")
	private Integer cart_id;
	@ApiModelProperty(value = "运营中心id")
	@TableField(value="oc_id")
	private Integer oc_id;
	@ApiModelProperty(value = "店铺/门店id")
	@TableField(value="shop_id")
	private Integer shop_id;
	@ApiModelProperty(value = "商品id")
	@TableField(value="goods_id")
	private Integer goods_id;
	@ApiModelProperty(value = "商品分类")
	@TableField(value="category_id")
	private Integer category_id;
	@ApiModelProperty(value = "商品名称")
	@TableField(value="name")
	private String name;
	@ApiModelProperty(value = "店铺logo")
	@TableField(value="logo")
	private String logo;
	@ApiModelProperty(value = "最小购买量")
	@TableField(value="min_buy")
	private Integer min_buy;
	@ApiModelProperty(value = "单位")
	@TableField(value="unit")
	private String unit;
	@ApiModelProperty(value = "商品简介")
	@TableField(value="intro")
	private String intro;
	@ApiModelProperty(value = "商品详情")
	@TableField(value="description")
	private String description;
	@ApiModelProperty(value = "商品标签")
	@TableField(value="tags")
	private String tags;
	@ApiModelProperty(value = "创建时间")
	@TableField(value="create_time")
	private Timestamp create_time;
	@ApiModelProperty(value = "单点不配送:是=1 否=2")
	@TableField(value="unsend")
	private Integer unsend;
	@ApiModelProperty(value = "商品规格id")
	@TableField(value="spec_id")
	private Integer spec_id;
	@ApiModelProperty(value = "规格名称")
	@TableField(value="spec_name")
	private String spec_name;
	@ApiModelProperty(value = "价格")
	@TableField(value="price")
	private BigDecimal price;
	@ApiModelProperty(value = "原价")
	@TableField(value="original_price")
	private BigDecimal original_price;
	@ApiModelProperty(value = "包装费")
	@TableField(value="package_price")
	private BigDecimal package_price;
	@ApiModelProperty(value = "实时库存")
	@TableField(value="inventory")
	private Integer inventory;
	@ApiModelProperty(value = "最大库存")
	@TableField(value="maximum_inventory")
	private Integer maximum_inventory;
	@ApiModelProperty(value = "次日置满")
	@TableField(value="fill_morrow")
	private Integer fill_morrow;
	@ApiModelProperty(value = "重量(g)")
	@TableField(value="weight")
	private Integer weight;
	@ApiModelProperty(value = "乐观锁标识")
	@TableField(value="version_id")
	@Version
	private Integer version_id;

 
	public Integer getCart_id() {
		return cart_id;
	}
	public void setCart_id(Integer cart_id) {
		this.cart_id = cart_id;
	}
 
	public Integer getOc_id() {
		return oc_id;
	}
	public void setOc_id(Integer oc_id) {
		this.oc_id = oc_id;
	}
 
	public Integer getShop_id() {
		return shop_id;
	}
	public void setShop_id(Integer shop_id) {
		this.shop_id = shop_id;
	}
 
	public Integer getGoods_id() {
		return goods_id;
	}
	public void setGoods_id(Integer goods_id) {
		this.goods_id = goods_id;
	}
 
	public Integer getCategory_id() {
		return category_id;
	}
	public void setCategory_id(Integer category_id) {
		this.category_id = category_id;
	}
 
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
 
	public String getLogo() {
		return logo;
	}
	public void setLogo(String logo) {
		this.logo = logo;
	}
 
	public Integer getMin_buy() {
		return min_buy;
	}
	public void setMin_buy(Integer min_buy) {
		this.min_buy = min_buy;
	}
 
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
 
	public String getIntro() {
		return intro;
	}
	public void setIntro(String intro) {
		this.intro = intro;
	}
 
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
 
	public String getTags() {
		return tags;
	}
	public void setTags(String tags) {
		this.tags = tags;
	}
 
	public Timestamp getCreate_time() {
		return create_time;
	}
	public void setCreate_time(Timestamp create_time) {
		this.create_time = create_time;
	}
 
	public Integer getUnsend() {
		return unsend;
	}
	public void setUnsend(Integer unsend) {
		this.unsend = unsend;
	}
 
	public Integer getSpec_id() {
		return spec_id;
	}
	public void setSpec_id(Integer spec_id) {
		this.spec_id = spec_id;
	}
 
	public String getSpec_name() {
		return spec_name;
	}
	public void setSpec_name(String spec_name) {
		this.spec_name = spec_name;
	}
 
	public BigDecimal getPrice() {
		return price;
	}
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
 
	public BigDecimal getOriginal_price() {
		return original_price;
	}
	public void setOriginal_price(BigDecimal original_price) {
		this.original_price = original_price;
	}
 
	public BigDecimal getPackage_price() {
		return package_price;
	}
	public void setPackage_price(BigDecimal package_price) {
		this.package_price = package_price;
	}
 
	public Integer getInventory() {
		return inventory;
	}
	public void setInventory(Integer inventory) {
		this.inventory = inventory;
	}
 
	public Integer getMaximum_inventory() {
		return maximum_inventory;
	}
	public void setMaximum_inventory(Integer maximum_inventory) {
		this.maximum_inventory = maximum_inventory;
	}
 
	public Integer getFill_morrow() {
		return fill_morrow;
	}
	public void setFill_morrow(Integer fill_morrow) {
		this.fill_morrow = fill_morrow;
	}
 
	public Integer getWeight() {
		return weight;
	}
	public void setWeight(Integer weight) {
		this.weight = weight;
	}
 
	public Integer getVersion_id() {
		return version_id;
	}
	public void setVersion_id(Integer version_id) {
		this.version_id = version_id;
	}

}